Electronic circuits comprising voltage detectors

ABSTRACT

An electronic circuit for detecting a change in a property of interest, the circuit comprising a voltage detector having an input and a device for providing a bias current to the input of the voltage detector, wherein the circuit is arranged such that a change in the property of interest modifies the current received at the input of the voltage detector. A change in the property of interest may modify the current by adding or subtracting a current to the bias current. The property of interest may be a signal which is combined with the bias current thereby to alter the current at the input of the voltage detector. The signal may be capacitively coupled into the bias current. The signal may be provided by a sensor, which may be a voltage generating sensor and could be an antenna, rectenna, microphone or any other suitable sensor.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is the U.S. national phase entry under 35 U.S.C. § 371 of International Application No. PCT/GB2018/053156, filed Oct. 31, 2018, entitled ELECTRONIC CIRCUITS COMPRISING VOLTAGE DETECTORS, which in turn claims priority to and benefit of Great Britain Application No. 1717999.5, filed Oct. 31, 2017 and Great Britain Application No. 1803266.4, filed Feb. 28, 2018, each of which is incorporated herein by reference in their entirety for all purposes.

TECHNICAL FIELD OF THE INVENTION

The present invention relates to electronic circuits.

BACKGROUND TO THE INVENTION

Voltage detectors are employed in a variety of electronic circuits including sensing, comparison, low voltage logic and op amp circuits and Schmidt triggers. A voltage detector is arranged to provide a first output (for example a first predetermined voltage) when an input exceeds a first threshold voltage, and to provide a second output (for example a second predetermined voltage) when the input falls below a second threshold voltage. The second threshold voltage may be lower than the first. The first predetermined voltage may be higher, or lower than the second predetermined voltage. Accordingly, therefore, a voltage detector may have either a non-inverting or an inverting output.

In the context of sensing, sensors such as those used in medical devices can be powered by wireless power transfer or energy harvesting sources. In the case of sensors that are worn on the human body, these sources provide intermittent power due to the body's movement. For example, if the wearer of the device rests in a position such that a power receiving antenna is poorly oriented relative to the transmitter, then an input power lull occurs. This problem of intermittency occurs with the majority of energy generation and wireless power transfer techniques, and is only exacerbated when some of the system is situated on a moving body.

FIG. 1 provides a schematic illustration of a sensor system that may be powered by intermittent sources. The intermittent source feeds an input rail VIN. A power management circuit converts VIN into a useful stable internal rail voltage VDD for the sensor sub-systems. The power management circuit requires power for its own internal control circuits, which is supplied from the VDD rail. In order to stop this quiescent power from unnecessarily draining power from the VDD rail, the power management is powered off during input power lulls. A voltage detector, the device under consideration here, senses the input voltage VIN, and power-gates the power management circuit via a PMOS transistor, which is switched by the voltage detector's open-drain output. Three-terminal voltage detectors are used that do not require connection to a supply rail, and therefore, in principle provide always-awake input monitoring, even when the rest of the sensor system is powered off.

Alternatively, as shown in FIG. 1, the voltage detector could be used to switch on a power supply, for example from a battery, thus minimising use of stored power to when there is a detection signal.

In practice, however, existing commercially-available voltage detectors have a significant input quiescent current, especially once activated. This quiescent current significantly reduces the source's output voltage, and thus prevents the use of wireless rectifying antennas (rectennas) with multiple voltage multiplying stages, and wearable energy harvesters such as ferroelectret textiles, because these have high source impedances of up to tens of MΩ. For these sources, input monitoring and input-dependent power gating is therefore not currently possible.

This problem is illustrated in FIG. 2, which shows the operation of a commercially available voltage detector being used in the circuit of FIG. 1. FIG. 2 shows the source voltage VIN when the source is unloaded (dashed line), and also when loaded by the voltage detector (solid line). On reaching the detector's threshold, the quiescent current IIN increases sharply, dragging the input voltage down, thus switching the detector off again. The quiescent input current drops and the process begins again, resulting in a pulsing output VOD rather than an output pulse that lasts the duration of the incoming power, as required for the power-gating of sensor sub-systems. More importantly, the source voltage VIN has been affected in such a way that the supply to the power management circuit shown in FIG. 1 is significantly reduced.

Another potential solution is the Power-On-Reset circuit (POR), which monitors an input without the need for a stable voltage rail. FIG. 3 illustrates the operation of a basic POR pulse generator circuit. However, the output is a short reset-pulse, which does not provide information on the duration of the incoming source power.

FIG. 4 shows the desired behaviour of an ideal voltage detector for an electronic circuit, where the incoming voltage is preserved, the quiescent current is zero most of the time, and the output lasts the duration of the incoming power.

Even if such an ideal voltage detector was known, often the output of sensors which the voltage detector detects are too low to sufficiently power the detector. Therefore, the detector would not triggered.

Many different types of low-power integrated circuits for monitoring voltage rails have been proposed, including those previously referred to. In one such circuit (as described in “A 330 nA energy-harvesting charger with battery management for solar and thermoelectric energy harvesting” by K. Kadivrl et al) a voltage detector consists of a comparator and a band-gap reference to determine the input condition. However, the quiescent current of this circuit is 180 nA, mostly due to continuous flow of bias current through reference-voltage generating circuitry and the comparator. The voltage detection threshold of this circuit is 2.1V and the maximum operating voltage is 4V. Additional protection circuits could be used to protect the circuit from potentially damaging over voltage conditions, but by clamping the input voltage at 4V, a significant percentage of the source power would be lost.

A monitoring circuit consuming sub-nA current has also been proposed (Toshishige Shimamura, Mamoru Ugajin, Kenji Suzuki, Kazuyoshi Ono, Norio Sato, Kei Kuwabara, Hiroki Morimura, Shin′ichiro Mutoh: “Nano-Watt Power Management and Vibration Sensing on a Dust-Size Batteryless Sensor Node for Ambient Intelligence”). It operates without the need for a bandgap voltage reference for low power, but triggers only at a high input voltage.

Detectors which do not need comparators have been proposed, (e.g. by P. Chen, et al: “Startup Techniques for 95 mV Step-Up Converter by Capacitor Pass-On Scheme and VTH-Tuned Oscillator with Fixed Charge Programming” and X. Zhang et al: “A 0.6 V Input CCM/DCM Operating Digital Buck Converter in 40 nm CMOS”). Their quiescent current is therefore reduced to few nA. The technology used permits detection thresholds of a few hundred mV, but this also reduces the maximum allowed input voltage.

In “Design and Realization of a Voltage Detector Based on Current Comparison in a 40 nm Technology” by S. Y. Wu, W. B. Chen, N. Ning, J. Li, Y. Liu, and Q. Yu, a current comparison voltage detector is reported, which uses current comparison instead of a voltage comparator. The current reference is programmed by a logic control circuit, and provides the detector with three selectable thresholds. The power, however, is high at μW and the voltage detection threshold is 1.1V.

A battery supervisor circuit consuming 635 pW at 3.6 V is reported in “A 635 pW Battery Voltage Supervisory Circuit for Miniature Sensor Nodes” by I. Lee, S. Bang, Y. Lee, Y. Kim, G. Kim, D. Sylvester, and D. Blaauw. This circuit achieves low power consumption through a 57 pA voltage reference and a low power comparator. The detection threshold, however, is 3.6 V, which is too high for many applications. In “248 pW, 0.11 mV/° C. Glitch-Free Programmable Voltage Detector With Multiple Voltage Duplicator for Energy Harvesting” by Teruki Somey, Hiroshi Fuketa, Kenichi Matsunaga, Hiroki Morimura, Takayasu Sakurai, and Makoto Takamiya, a 248 pW voltage detector for energy harvesting is demonstrated. However, its maximum input voltage is 0.1 V, which is too low for many applications.

As will be appreciated from the discussion above, existing commercial discrete voltage detectors and integrated detection circuits are unsuitable for the continuous, non-invasive monitoring of high-impedance source voltages. A need therefore exists for a voltage detector which combines a high (greater than 10V) maximum input voltage, a low (lower than 1V) detection threshold and a low (lower than 248 pW) quiescent power consumption.

It is an object of embodiments of the present invention to provide an electronic circuit that addresses the problems of the prior art.

SUMMARY OF THE INVENTION

According to an aspect of the invention there is provided an electronic circuit for detecting a change in a property of interest, the circuit comprising a voltage detector having an input and a device for providing a bias current to the input of the voltage detector, wherein the circuit is arranged such that a change in the property of interest modifies the current received at the input of the voltage detector.

A change in the property of interest may modify the current by adding or subtracting a current to the bias current. The property of interest may be a signal which is combined with the bias current thereby to alter the current at the input of the voltage detector. The signal may be capacitively coupled into the bias current. The signal may be provided by a sensor, which may be a voltage generating sensor and could be an antenna, rectenna, microphone or any other suitable sensor.

The property of interest may be a current. This may be controlled by a sensor the impedance of which, or the impedance of a medium the sensor is arranged to monitor (for example in the case of a moisture sensor), changes with a sensed property. The sensor may be connected between the input of the voltage detector and ground or a common reference.

A change in the property of interest may modify the current received at the input of the voltage detector by impeding the bias current. The bias current may be impeded by a sensor the impedance of which, or the impedance of a medium the sensor is arranged to monitor, changes with a sensed property, which may be humidity or any other property of interest.

The bias current may be a positive current. The means for providing the bias current may be a pull up device. The pull up device may be a resistive component connecting a voltage to the input to the voltage detector. The pull up device may comprise one or more of a resistor, diode, reverse biased diode, transistor, diode connected transistor or capacitor. The sensor may be connected in series with the device for providing the bias current.

The device for providing a bias current may be a potential divider.

The electronic circuit may be arranged such that, in use and in the absence of a desired change in the measured property of interest, the effect of the bias current is to increase the potential at the input to the voltage detector to a point below a trigger point of the voltage detector, or alternatively so that the effect of the bias current is to increase the potential at the input to the voltage detector to a point above a trigger point of the detector.

The bias current may be a negative current. The means for providing the bias current may be a pull down device. The pull down device may comprise one or more of a resistor, diode, reverse biased diode, transistor, diode connected transistor or capacitor.

The device for providing the bias current may control the bias current and thereby control the current received at the input of the voltage detector. The bias current may be controlled by an output of the voltage detector.

The electronic circuit may be arranged such that following triggering of the voltage detector as a result of a change in the property of interest the bias current is altered so as to reset the voltage detector to its original state.

An output of the voltage detector may be connected to an input of a second voltage detector, and an output of the second voltage detector may control the bias current.

The device for providing a bias current may comprise a component with a conductivity which varies with temperature, and is arranged so as to compensate for changes in temperature on the behaviour of the circuit or give the detection threshold of the voltage detector a desired temperature dependence.

The component may have a negative temperature coefficient.

The voltage detector may be powered substantially or exclusively by its input.

The voltage detector may be capable of operating when drawing power of less than 10 nW.

The voltage detector may be capable of being powered up from an input which rises with no minimum gradient, preferably from 0V.

The voltage detector may comprise a voltage reference circuit arranged to produce a reference voltage and a comparator arranged to compare the reference voltage with an input and produce an output which is pulled high or low in dependence on the relationship between the reference voltage and input. The voltage reference may comprise a standby input and, on receiving a signal at this input, be arranged to reduce the voltage of its output. On receiving a signal at the standby input, the voltage reference may switch into a standby mode in which its power consumption is reduced. The output of the comparator may be connected to the standby input. When the output of the comparator switches between states, feedback via the standby input of the voltage reference may cause the output of the voltage reference to alter in a way which speeds up switching of the output of the comparator.

The voltage detector may be a conventional voltage detector. However it is generally preferred that the, some or each voltage detector employed comprises some or all of the following features:

-   -   The detector is a low power detector. A low power detector may         consumes less than 100 nW or less than 10 nW of power, this         consumption being the total power received by the detector via         all inputs. This enables the detector to be powered by high         impedance sources of MΩ upwards. This is better than the of 100s         of nW drawn by the best known sleep modes with low-power clocks         to activate very infrequent sampling around Hz, and certainly         better than systems which higher sample rates or kHz or higher         which can consume many μW to many mW.     -   The detector is capable of being powered up from inputs which         rise from 0 V with no minimum gradient without loss of         functionality, e.g. the rate of increase of the input cannot         cause the detector to enter an undefined state, or to enter a         low impedance mode preventing the voltage from rising further.         This enables the detector to be powered from signals whose         voltage varies without risk of brownout.     -   The detector is capable of being input or at least substantially         input powered. That is to say, the detector may derive some, and         preferably all, of its operating power from an input signal it         is arranged to detect, e.g. a signal that provides information         to the detector. In this way any external power requirement is         minimised or eliminated.     -   The detector is always aware. That is, it may be continuously         connected to and monitor an input. By contrast, a sampling         system is blind during the sampling intervals and can miss short         events.     -   The detector is capable of responding to external events with a         response time of less than 1 ms. This is faster than the         response time of a 1 kHz sampling system, whose sampling would         drain upwards of 1 μW.     -   The detector is capable of altering its output when the input         voltage passes a threshold irrespective of the voltage gradient         of the voltage signal, or at least where the gradient exceeds mV         per minute levels. As such the detector can sharpen slow inputs,         for example, even mV per minute gradients, as they pass the         detection threshold, produce a sharp output signal that is         compatible with the power-gating of conventional circuits.     -   The detector is capable of detecting thresholds below 1 V,         preferably below 0.7 V.     -   The detector is capable of receiving voltages at least 5 or at         least 10 times the threshold level.

The voltage reference circuit, for receiving an input and producing an output reference voltage having a maximum value independent of a voltage of the input, may comprise:

an input for receiving the input voltage;

a first current controlling element which allows current to flow as an increasing, non-linear function of voltage at least within a first range of voltages;

a second current controlling element which allows current to flow as an increasing, non-linear function of voltage at least with a second range of voltages; and

an output at which the output reference voltage is produced,

wherein the first current controlling element and the second current controlling element are connected in series between the input and a common reference, with the second current controlling element between the first current controlling element and the common reference, the output comprises a node between the two current controlling elements, the first and second range of voltages overlap and the second current controlling element is configured to vary the function by which it allows current to flow in dependence on the input voltage.

This structure allows a voltage reference to be generated with a very low current consumption.

The first and/or second current controlling elements may allow current to flow as a substantially exponential function of voltage, at least within the first and second ranges of voltages respectively. The function may be that provided by a semiconductor device operating in subthreshold mode, i.e. in a range of voltages below a threshold voltage of the device.

The first current controlling element could also be regarded as a voltage reducing element and may be a diode, a transistor or a diode connected transistor.

The second current controlling element may be a transistor, particularly an NMOS transistor.

The second current controlling element may have a control terminal connected to the input, thereby to control current flow (in particular to vary the function by which the element allows current to flow with voltage) in dependence on the input voltage.

The common reference may be ground.

The reset input for receiving a reset signal and/or a third current controlling element may be connected in series between the first current controlling element and the output. The third current controlling element may be configured to allow current to flow in dependence on a voltage received at the reset input. The reset input may be connected to the input so that the third current controlling element is configured to allow current to flow in dependence on the input voltage.

The third current controlling element may be arranged to reduce or substantially prevent current flowing through the reference circuit when a predetermined reset signal is received. This effectively allows the reference circuit to be turned off when a voltage reference is no longer required, thereby saving current.

The third current controlling element may allow current to flow as an increasing, non-linear function of voltage at least with a third range of voltages, and to vary that function in dependence on a reset signal received at the reset input.

The third current controlling element may be a transistor, particularly a PMOS transistor.

The third current controlling element may have a control terminal connected to the reset input.

Alternatively the first, second and/or third current controlling element may be a network comprising any number of any of the following components: diodes, transistors and/or diode connected transistors. So, the first, second and/or third current controlling element could be or comprise an exponential trans-conductor cell. Such networks would be configured to provide the desired properties of the current controlling elements.

The voltage reference circuit may be arranged to reduce the output reference voltage, such as substantially to the common reference level, when a predetermined reset signal is received.

The voltage reference circuit may comprise a capacitance connected to the input via the first current controlling element. Where a third current controlling element is provided it may be connected to a node between the first current controlling element and the capacitance.

A bias-shifting element may be associated with any of the current controlling elements. In one arrangement a diode-connected transistor is connected between the second current controlling element and the common reference.

The voltage reference circuit according to the first aspect of the invention has a wide variety of applications, including use in place of conventional voltage reference generating circuits. One application is in a voltage detector where it is connected to a trigger configured to compare the input voltage with the output reference voltage and to output a detection signal when the voltage of the input meets a first threshold.

The voltage detector, for monitoring an input signal and outputting a detection signal at an output when a voltage of the input signal meets a first threshold, may comprise:

an input configured for receiving the input signal;

a voltage reference circuit for receiving an input voltage and producing a reference voltage having a maximum value independent of the input voltage; and

a trigger configured to compare the input signal and the reference voltage and to output a detection signal to the output when the voltage of the input signal reaches the first threshold,

wherein the voltage reference circuit comprises a reset input connected to either the input or the output and is configured to reduce the reference voltage when a predetermined reset signal is received.

Provision of a reset facility effectively allows the detector to be switched off when triggered, thus saving current in certain implementations.

The trigger may be an inverter which may comprise a PMOS transistor and an NMOS transistor.

In this arrangement, reduction of the reference voltage can help reduce current leakage through the trigger following triggering.

The reference voltage produced by the voltage reference circuit may be low enough to ensure that the inverter is in subthreshold mode when it switches.

The voltage reference circuit may act as a switch for selectively connecting an input of the inverter to the capacitance, where provided, or to a common reference, wherein: the switch is operative to connect the input of the inverter to the capacitance during a period in which a voltage of the input signal rises from zero to the first threshold, such that no detection signal is output; the switch is operative to connect the input of the inverter to a common reference when the voltage of the input signal meets the first threshold, such that a detection signal is output while the voltage of the input signal is equal to or greater than the first threshold; and the switch is operative to connect the input of the inverter to the capacitance when the voltage of the input signal drops below a second threshold, such that no detection signal is output.

The reference voltage may be ground.

There may be one or more buffers between the trigger and the output. These can sharpen the response of the detector. That is they provide for a more rapid rise or fall of the ultimate output on triggering of the inverter.

The voltage detector may be configured to stop outputting a detection signal when a voltage of the input falls below a second threshold which is lower than the first threshold. Advantageously, where the trigger is an inverter this is achieved by the reduction in the reference voltage on triggering of the inverter.

The electronic circuit may comprise a voltage detector system for monitoring an input signal and outputting a detection signal when the voltage of the input signal meets a threshold, the voltage detector system comprising:

a first voltage detector having a first reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the first voltage detector is configured to output the detection signal when the voltage of the input signal meets a first rising input voltage threshold;

a second voltage detector having a second reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the second voltage detector is configured to output the detection signal when the voltage of the input signal meets a second rising input voltage threshold which is higher than the first threshold,

wherein the output of the second voltage detector controls a connection between the input signal and the input of the first voltage detector such that when the voltage of the input signal meets the second rising input voltage threshold the connection between the input signal and input of the first voltage detector is restricted or disconnected.

The voltage detector system may further comprise a third voltage detector having a third reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the third voltage detector is configured to output a detection signal when the voltage of the input signal meets a third rising input voltage threshold which is higher than both the first threshold and the second threshold, wherein the output of the third voltage detector controls a connection between the input signal and the input of the second voltage detector such that when the voltage of the input signal meets the third rising input voltage threshold the connection between the input signal and the input of the second voltage detector is restricted or disconnected.

The first voltage detector may be configured to cease outputting a detection signal when the voltage of the input signal meets a first falling input voltage threshold, wherein the first falling input voltage threshold is lower than the first rising input voltage threshold.

The second voltage detector may be configured to cease outputting a detection signal when the voltage of the input signal meets a second falling input voltage threshold, wherein the second falling input voltage threshold is lower than the second rising input voltage threshold.

The third voltage detector may be configured to cease outputting a detection signal when the voltage of the input signal meets a third falling input voltage threshold, wherein the third falling input voltage threshold is lower than the third rising input voltage threshold.

The voltage detector system may further comprise an open drain output stage, the output stage comprising a plurality of MOSFET devices, each MOSFET device having: a gate terminal connected to an output of a respective one of the voltage detectors; a source terminal connected to a common reference; and a drain terminal connected to an output terminal of the output stage.

A gate threshold of each MOSFET device may be lower than the rising input threshold and the falling input threshold of the respective voltage detector to which the MOSFET device is connected.

Voltage detector systems of the present invention may have a steady quiescent current of units to tens of picoamps prior to triggering, which enables continuous monitoring of the output of sources with impedances in the MΩ range. Once triggered, the quiescent current may be tens to hundreds of picoamps. Additionally, voltage detector systems of the present invention can have a low threshold voltage, and so be able to capture as many power-containing pulses as possible, whilst at the same time have a high maximum input voltage, again allowing capture of higher power pulses without sustaining damage. Further, leakage current from or into the voltage detector is minimal.

The voltage detector, for monitoring an input signal and outputting a detection signal when a voltage of the input signal meets a first threshold may comprise: an input configured for receiving the input signal; a capacitance which is charged by the input signal; an inverter having an output for outputting the detection signal; and a switch for selectively connecting an input of the inverter to the capacitance or to ground, wherein: the switch is operative to connect the input of the inverter to the capacitance during a period in which a voltage of the input signal rises from zero to the first threshold, such that no detection signal is output; the switch is operative to connect the input of the inverter to ground when the voltage of the input signal meets the first threshold, such that a detection signal is output while the voltage of the input signal is equal to or greater than the first threshold; and the switch is operative to connect the input of the inverter to the capacitance when the voltage of the input signal drops below a second threshold, such that no detection signal is output.

The voltage detector may further comprise a voltage reducing element through which the capacitance is charged by the input signal. The switch may be controlled by the output of the inverter. The switch may comprise a transistor for connecting the input of the inverter to the capacitor, the transistor having a control terminal connected to the output of the inverter such that operation of the transistor is controlled by the output of the inverter. The switch may further comprise a further transistor for connecting the input of the inverter to ground, the further transistor having a control terminal connected to the input so as to receive the input signal, such that operation of the further transistor is controlled by the input signal. The switch may be controlled by the input signal. The switch may comprise a transistor for connecting the input of the inverter to the capacitor, the transistor having a control terminal connected to the input so as to receive the input signal, such that operation of the transistor is controlled by the input signal.

The switch may further comprise a further transistor for connecting the input of the inverter to ground, the further transistor having a control terminal connected to the input so as to receive the input signal, such that operation of the further transistor is controlled by the input signal. The voltage detector may further comprise a bias-shifting element associated with the further transistor, the bias-shifting element being operative to bias the control terminal of the further transistor. The bias-shifting element may comprise a diode-connected transistor connected between the further transistor and ground. The inverter may comprise a PMOS transistor and an NMOS transistor. The further transistor may comprise an NMOS transistor, and wherein the rising input voltage threshold of the voltage detector is defined by a gate threshold voltage of the NMOS transistor.

The bias current adjusts the sensitivity of the voltage detector, allowing it to detect lower voltages than usual. This allows the voltage detector to be triggered by signals which are usually too low to trigger it, and the electronic circuit to therefore detect such low signals.

DETAILED DESCRIPTION OF THE INVENTION

In order that the invention may be more clearly understood one or more embodiments thereof will now be described, by way of example only, with reference to the accompanying drawings, of which:

FIG. 1 is a schematic representation of a sensor system that is powered by intermittent sources;

FIG. 2 illustrates the operation of a commercially available voltage detector as used in the circuit of FIG. 1;

FIG. 3 illustrates the operation of a basic power on reset (POR) pulse generator circuit;

FIG. 4 illustrates the ideal behaviour of a POR circuit;

FIG. 5 shows a circuit diagram of an electronic circuit according to the present invention and a graph of input current against input voltage for the circuit;

FIG. 6 is three circuit diagrams, each showing a different electronic circuit according to the present invention;

FIG. 7 is a circuit diagram of an amplifier comprising an electronic circuit according to the present invention;

FIG. 8 is a graph, for a voltage detector of the amplifier of FIG. 7, of input current against input voltage;

FIG. 9 shows three circuit diagrams of reset circuits for voltage detectors comprising part of electronic circuits according to the present invention;

FIG. 10 is a graph, for a voltage detector of the amplifier of FIG. 7 modified to be ‘normally-on’, of input current against input voltage;

FIG. 11 is a circuit diagram of another embodiment of an electronic circuit according to the present invention;

FIG. 12 is a circuit diagram of a further embodiment of an electronic circuit according to the present invention;

FIG. 13 is a circuit diagram of an analogue to digital converter comprising a plurality of electronic circuits according to the present invention;

FIG. 14 shows a circuit diagram of the analogue to digital converter of FIG. 13 and a chart of detector output versus output of converter;

FIG. 15 is a schematic representation of a system architecture of a system incorporating a plurality of voltage detectors;

FIG. 16 is a timing diagram illustrating the operation of the system of FIG. 15;

FIG. 17 is a schematic representation of a power-gating circuit suitable for use in the architecture of FIG. 15;

FIG. 18 is a schematic representation of a voltage reference circuit that forms a part of the architecture of FIG. 15;

FIG. 19 is a functional block diagram of a voltage detector used in the system of FIG. 15;

FIG. 20 is a conceptual schematic diagram illustrating an implementation of the subthreshold voltage reference of the voltage detector of FIG. 19;

FIG. 21 is a conceptual schematic diagram illustrating a transistor implementation of the low voltage detector illustrated in FIG. 19;

FIGS. 22 to 24 are timing diagrams illustrating the operation of the circuit of FIG. 21;

FIG. 25 is a functional block diagram illustrating aspects of the operation of the voltage detector illustrated in FIG. 19;

FIG. 26 is a schematic diagram showing the design of a high voltage-range voltage detector for use in the system of FIG. 21;

FIG. 27 is a graph illustrating parameters of devices for use in implementing the voltage detector system disclosed herein;

FIG. 28 is a schematic diagram showing the design of a low voltage-range voltage detector for use in the system of FIG. 21;

FIG. 29 is a schematic diagram showing the design of a medium voltage-range voltage detector for use in the system of FIG. 21; and

FIG. 30 provides a legend for the transistor symbols used in FIGS. 20, 22 and 23.

FIG. 5 shows a voltage detector with adjustable detection threshold. The sensitivity of the detector is increased by injecting current from the VIN2 rail into the VIN1 input, in order to reduce the current required from the VIN1 rail. This has the advantage of allowing sensors to be connected to VIN1 whose output current is too low to trigger the detector, which requires a trigger current of around 1-5 nA. The bias current, and therefore sensitivity, is set by the pull-up device, which, along with the input impedance of the detector, determines the operating point during listening (when U1 is off) on the IV characteristic.

The electronic circuit (in this case a sensor) can therefore be biased to an optimal voltage to obtain the required sensitivity. VIN2 and the pull-up device are chosen to provide the ideal bias for the sensor connected to VIN1.

FIG. 6 shows three variants of a voltage detector with downwards adjusted detection threshold. The detector on the left shows a pull-up device R1 drawing bias current away from the input of the voltage detector U1. The detector in the centre shows an example of the pull-up device implemented as a diode, where a small leakage current flows through this reverse-biased diode (PiN, Zener, or Schottky). The detector on the right, shows the division of the input voltage, which also reduces the sensitivity and detection voltage threshold of the voltage detector U3. Again, these pull-up devices R31 and R32 can be realised by diodes, capacitors, diode-connected transistors or any other device with a leakage current.

These circuits allow the detection threshold of detectors, particularly voltage detectors, to be adjusted. Leakage to ground can also be used to stop a sensor connected to the input to the detector from staying on, thereby avoiding the need for an active reset from another circuit. The diode D has the additional advantage that it absorbs any power from negative sensor pulses (e.g. from an AC sensor).

The output of the detector can also be used to adjust the threshold. For example, the output can be used as an input to the threshold-adjusting circuit, to make the threshold dependent on the output. A simple example is to use the output to switch on a transistor and series resistor that adds or subtracts current from the input.

FIG. 7 shows an amplifier comprising two voltage detectors that takes advantage of this lower trigger current at turn-off. During listening, the first detector U1 is biased on using pull-up devices that provide for example 10-20 pA to hold the U1 in its on-state. This holds the input of the second detector U2 low. This, in turn, allows the gate of the p-type transistor T1 to be pulled high keeping it off.

The operating trajectory of the detectors of the amplifier is shown in FIG. 8. The detector listens in its off-state below the trigger voltage, and if sufficient input voltage and current is provided to its input, for example by a sensor, the detector switches into its on-state where the current drops to around 10 pA. This operation is referred to here as normally-off operation, as the detector is off in its listening mode. In this mode in some embodiments, in order to trigger, a peak current of approximately 1-5 nA at 0.6 V needs to be supplied to the detector. This equates to a temporary drop in input impedance of the detector to 300 MΩ If the sensor can overcome this hurdle, then the detector triggers.

An important advantage of this circuit is that the listening mode can be adjusted to operate anywhere on the falling IV characteristic, for example at point On2 in FIG. 8. Therefore, only a small voltage drop at VIN1, for example 100 mV, is sufficient to trigger the amplifier.

Certain embodiments of the electronic circuit allow a voltage detector to be held on via a bias current, and uses its highly sensitive turn-off capability to detect signals instead of its less sensitive turn-on capability. This is preferably achieved using at least some of the components that make it start up directly into its on state, and preferably with a circuit that allows it to be reset into the on-state from another sub-system, after it has detected a threshold. This may be a hold circuit configured to give the circuit that it is triggering enough time to start up.

The advantage of embodiments of this Amplifier is that it switches at lower input voltages, and requires around 2 orders of magnitude less change in input current to change the state of U1. It can therefore provide an input powered detector that uses the toggling of two voltage detectors to achieve increased sensitivity.

R4 and C4 form the hold circuit. R3 and C3 form an input noise low-pass filter. The pull-up devices R3, R5, R1, and R6 provide biasing for a sensor and sensitivity adjustment. R5 (around MΩ) and C1 (around 100 pF) form a start-up circuit that provides a temporary low-impedance path to switch U1 into its on-state when a voltage is applied to input VIN2. At this instant, the input of U1 follows VIN2, turning U1 on, and then falls to the required operating voltage for U1, as C1 is discharged through R1. The Reset input provides an AC-coupled path through C2 and C1 for a low-to-high transition from the supply powered domain to force U1 on again, in order to force the amplifier back into listening mode once the supply powered domain has finished its tasks.

This AC-coupled method is one way of resetting normally-on and biased voltage detector. Detectors that require an active reset from a microcontroller in order to move the detector back to the desired listening operating point can use this or any other means of temporarily injecting current into the input of the detector, or by using one of the circuits shown in FIG. 9.

The input current to most circuits that operate in sub-threshold is a strong increasing function of temperature. This can be taken advantage of A biased voltage detector, such as the U1 in FIG. 8, draws more current as the temperature increases, causing a larger voltage drop over the biasing component R1. This lowers VIN, moving the operating point from the listening point in FIG. 10 gradually to the left towards the trigger point. At a specific high temperature, when the trigger point is reached, U1 turns off. As the temperature drops, the input current to U1 decreases, until at a specific low temperature, U1 turns on. In this way, upper and lower temperature alerts are provided.

The advantage of this circuit is that it does not require a separate temperature sensor, and where an appropriate voltage detector is employed, uses only nA of current. Indeed, the voltage detector preferably has some or all of the features discussed above in relation to voltage detectors or as disclosed in either of the Annexes The temperature trigger points are configured by the choice of pull-up devices (types and values) such as R1.

Temperature sensitivity has been achieved by creating a bias current for a voltage detector which is a strong function of the temperature. Creating a temperature-dependent current flow through pull-up devices (e.g. diodes or diode-connected transistors) and into the voltage detector input changes the rising and falling voltage detection thresholds of the voltage detector with temperature. This can thus be used to sense temperature.

In another embodiment, the input current of a voltage detector increases with temperature. This results in a detection threshold that increases with temperature.

This can be compensated for with a temperature-dependent bias current, as shown in FIG. 11. Here the ‘resistor’ could be any component with a negative temperature coefficient of leakage, for example a diode or diode-connected transistor.

Using the temperature sensing and temperature compensation methods, the detection threshold voltages (both rise and fall-thresholds) can be made to rise or fall with temperature as desired. For example, the amplifier discussed above has a falling detection voltage with temperature, and an input-biased voltage detector as in FIG. 11 but with a standard resistor as the pull-up device has a detection threshold that rises with temperature.

In the above embodiments, input current and detection threshold voltage of electronic circuits may vary significantly from device to device. After processing, the blowing of polyfuses can be used to bring outlier devices back into specification. For example, diode-connected transistors, coupled to polyfuses, provide the opportunity to retrospectively adjust the bias current or IV characteristics of the input stage of the voltage reference of a voltage detector.

The state of embodiments of previously described circuits is a function of threshold-adjusting pull-up devices and bias currents. This can be taken advantage of to measure current through a current sense zone, pictured in FIG. 12. Here, U1 is held on in listening mode, due to the bias current through R1. If current flows in the current sense zone, it reduces the current flowing into the input of U1, thereby bringing it closer to turning-off. At a specific current level in the current sense zone, U1 turns off, thus having signalled a certain current threshold.

The advantage of this concept is that the input current of U1 may be of the order of picoamps to nanoamps, and extremely low current levels can be sensed. This can be used to detect humidity, water, leakage of chemicals, ingress, or any changes in material properties that affect their current carrying characteristics such as resistivity. It also allows continuous monitoring for liquids with sub-ms response times, using only nA of current. The two contacts in the current sense zone of FIG. 36 could, for example, be conductors or wires or plates on a substrate. As an example of humidity sensing: if moisture appears on the substrate, its resistivity drops. The current driven by VIN1 rises to a certain threshold level, turning U1 off, thus signalling the presence of moisture.

This approach uses current leakage from or into the input of a voltage detector as the measurand. As leakage currents down to 10s of pA can be sensed with low-cost electronics, this brings extreme power savings and improved sensitivity for conductivity based sensing, as the system only needs to provide extremely low bias currents (the current driven into the system from VIN through R1).

FIG. 13 shows an analogue to digital converter with a series connection of N pull-up devices, whose connection nodes are monitored by N voltage detectors. As the input voltage rises, first Output 1 switches, then Output 2, and so forth. This functionality could also be achieved with a parallel array of N voltage detectors, each having a different threshold. This limit currents to nA or less, which is useful since conventional analogue to digital converters use significant current.

FIG. 14 shows a similar analogue to digital converter, for clarity now just for the example of 3 stages and 4 levels. The voltage detectors (which may also be those having some or all of the features discussed above in relation to voltage detectors or as disclosed in either of the Annexes) are arranged to provide a coded output, here 4 levels are coded into a 2-bit parallel output. If needed, the pull-up devices can be chosen so that the voltage resolution of the analogue to digital converter is constant, as illustrated in FIG. 14, where a set of design equations is provided for a 4-level converter.

The number of output bits can be extended to any number. The number of voltage detectors in this coding topology increases with N*2N/2, where N is the number of detectable input voltage intervals.

The coding stage is carried out with any known combination of logic gates. The embodiment may be adjusted such that the resolution of analogue to digital converter is increased to any number by adding more series or parallel stages. Further to this, Pull-up devices can be used to create outputs that pull-high when active, or inverters used to invert the output states.

The resulting picoamp level input current of the voltage detectors results in the following advantages:

-   -   individual detectors do not significantly influence the         measurement, making the measurement more accurate,     -   pull-up devices can be chosen to conduct of the order of nA or         less, thereby making the whole converter use only nA-levels of         current, and     -   the current draw on the source is minimised, thereby making the         measurement less invasive.

Where the voltage detectors have a low threshold and a high-input voltage range that the input voltage range can be large, e.g. 0.5 to 15V.

A non-constant resolution over the input voltage range can be useful in some cases. For example, if different actions or supply powered domains, or other input powered or low power domains need to be activated at specific voltages to provide different functions and alerts. This is useful, for example in a capacitor or battery management system that isolates a cell below a certain low voltage, and discharges the cell weakly above a first high voltage, and discharges strongly above a second higher voltage as well as activating an alert or logger circuit.

The voltage detector of the electronic circuit of one or more of the above embodiments comprises a voltage detector system. FIG. 15 illustrates the voltage detection system, which combines all the desired properties of voltage detectors, namely high maximum input voltage, a low voltage detection threshold and low quiescent power consumption. The system, shown generally at 100 in FIG. 15, includes a power gating stage 120, a voltage detection stage 140 and an output stage 160.

The voltage detection stage 140 includes a first voltage detector 142 which is configured to detect input voltages in a high voltage range (e.g. in the range 2.8 volts to 20 volts), a second voltage detector 144 which is configured to detect input voltages in a medium voltage range (e.g. 0.6 volts to 2.8 volts) and a third voltage detector 146 which is configured to detect input voltages in a low voltage range (e.g. 0.45 volts to 0.6 volts). This arrangement of three voltage detectors ensures that the voltage detection system 100 is able to operate in a wide input voltage range, therefore facilitating the capture of energy from pulses with a wide power range.

The power gating stage 120 is configured to prevent potentially damaging input voltages from reaching the second and third voltage detectors 144, 146, and is arranged such that the first voltage detector 142 gates the second and third voltage detectors 144, 146 and the second voltage detector 144 gates the third voltage detector 146. As can be seen in FIG. 15, the voltage input V_(IN) of the system 100 is connected to an input V_(IN(H)) of the first voltage detector 142. An output V_(OUT(H)) of the first voltage detector 142 is connected to the gate terminal of a first P-channel MOSFET 122. The source terminal of the first P-channel MOSFET is connected to the voltage input V_(IN) and the drain terminal of the first P-channel MOSFET 122 is connected to an input V_(IN(M)) of the second voltage detector 144, and, via a second P-channel MOSFET 124, to an input V_(IN(L)) of the third voltage detector 146.

When the first voltage detector 142 detects an input voltage in the high voltage range, its output V_(OUT(H)) goes high, causing the first P-channel MOSFET 122 to switch off, thereby restricting or preventing the input voltage from reaching the second voltage detector 144 or the third voltage detector 146.

Similarly, the gate terminal of the second P-channel MOSFET 124 is connected to an output V_(OUT(M)) of the second voltage detector 144, such that when the second voltage detector 144 detects an input voltage in the medium voltage range, its output V_(OUT(M)) goes high, causing the second P-channel MOSFET 124 to switch off, thereby restricting or preventing the input voltage from reaching the third voltage detector 146.

The output stage 160 of the voltage detection system 100 includes (in the illustrated example) first, second and third N-channel MOSFETS 162, 164, 166. The gate terminal of the first N-channel MOSFET 162 is connected to the output V_(OUT(H)) of the first voltage detector 142, whilst the gate terminal of the second N-channel MOSFET 164 is connected to the output V_(OUT(M)) of the second voltage detector 144 and the output of the third N-channel MOSFET 166 is connected to the output V_(OUT(L)) of the third voltage detector 146. The drain terminals of the first, second and third N-channel MOSFETs 162, 164, 166 are all connected to an open-drain output terminal V_(OD) of the output stage 160, whilst the source terminals of the first, second and third N-channel MOSFETs 162, 164, 166 are all connected to ground. Accordingly, if any one of the first, second or third voltage detectors 142, 144, 146 is triggered, the open drain output V_(OD) of the output stage 160 will be activated.

FIG. 16 is a timing diagram illustrating the operation of the circuit of FIG. 15. The input voltage V_(IN) is shown as a trapezoidal pulse. As the rising edge of this pulse reaches the voltage detection threshold of the third (low voltage range) voltage detector 146, the third voltage detector 146 turns the third N-channel MOSFET 166 on, activating the system's output V_(OD). When the input voltage V_(IN) reaches the voltage detection threshold of the second (medium voltage range) voltage detector 144, the second voltage detector 144 switches on the second N-channel MOSFET 164, and power-gates off the third voltage detector 146, thus protecting it from a further rise in V_(IN), and causing the third N-channel MOSFET 166 to be switched off. As V_(IN) reaches the voltage detection threshold of the first (high voltage range) voltage detector 142, the first N-channel MOSFET 162 is switched on, and both the second and third voltage detectors 144, 146 are disconnected from the input (or at least the connection restricted), resulting in the turning off of the second N-channel MOSFET 164. The first voltage detector 142 remains active until the input voltage drops below its voltage detection threshold, which leads to the second voltage detector 144 being powered on. A further fall in the input voltage activates the third voltage detector 146.

The thresholds at which the voltage detectors 142, 144, 146 switch on in response to a rising input voltage may be different from (higher than) the thresholds at which the voltage detectors 142, 144, 146 switch off in response to a falling input voltage, in order to provide hysteresis and thus avoid system oscillation. The overall result is a continuous activation of the open-drain output V_(OD) for the duration of the input pulse. To ensure seamless operation of the voltage detection system 100, the threshold voltage of each MOSFET device 162, 164, 166 should be lower than the detection thresholds at which the respective voltage detectors 142, 144, 146 switch on in response to a rising input voltage and the thresholds at which the respective voltage detectors 142, 144, 146 switch off in response to a falling input voltage.

This illustrates the reason for using an open-drain output. When activated, the voltage outputs V_(OUT(H)), V_(OUT(M)) and V_(OUT(L)) of the voltage detectors 142, 144, 146 are at the same potential as their corresponding inputs V_(IN(H)), V_(IN(M)) and V_(IN(L)). Since the voltage detector system 100 will interface to other CMOS devices with much lower maximum allowable voltages, V_(OUT(H)) and V_(OUT(M)) cannot be used as the output of the overall system. The open drain output stage allows the voltage detector system 100 to output a signal that is usable by, and not damaging to, an external device.

FIG. 16 also illustrates the profile of the total quiescent current I_(IN) of the voltage detector system 100. I_(IN) is zero when the input voltage V_(IN) is zero, and on a rising input voltage the current increases from 42 pA at 0.2V (below the voltage detection threshold of the third voltage detector 146) to 83 pA at V_(IN)=1V (above the detection threshold of the second voltage detector 144), and to around 236 pA at V_(IN)=5V (above the detection threshold of the first voltage detector 142), with current surges occurring at the activation points of each of the three voltage detectors 142, 144, 146. The measured total energy loss per transition caused by static current when an input voltage rises from 0 to 2.8V, a voltage slightly higher than the high detection threshold (2.8V) with two typical gradients of 1V/s and 100V/s respectively are 788 pJ and 7.9 pJ respectively. This is lower than prior art voltage detection circuits, which contain circuits that, for a given rail voltage, continuously consume quiescent current. An alternative version of the voltage detector system 100 in which the third voltage detector 144 is disabled draws 1.2 pA at 0.2V, around 6 pA at 1V and 111 pA at 5V. Its total energy consumption at 1V/s and 100V/s transition from 0 to 2.8V of the input voltage is 229 pJ and 23 pJ respectively.

FIG. 17 is a schematic representation of a power-gating circuit 120 suitable for use in the voltage detection system 100 of FIG. 15. The power-gating transistor 122 should be a medium-gate-oxide (5.5 V breakdown) PMOS transistor because its source-gate voltage can be as high as 2.8 V (corresponding to the threshold of the first voltage detector 142) before its gate-drive signal goes high. By contrast, the power-gating transistor 124 can be a thin-gate-oxide PMOS transistor because its source-gate voltage does not exceed 0.6 V (corresponding to the threshold of the second voltage detector 144) and its low gate-threshold voltage helps the third (low voltage range) detector 146 start to operate at a low input voltage.

Ideally, the input voltage V_(IN(L)) of the third detector 146 will drop after the transistor 122 is switched off for protecting this detector. However, in some thin-gate-oxide CMOS process technologies, the leakage current through the transistor 124 (when ‘OFF’) can be sufficiently high so that V_(IN(L)) can continue to rise and follow the input voltage V_(IN(M)) of the second (medium voltage range) detector 144. This may cause overvoltage damage to the third detector 146 especially when V_(IN(M)) has a slow voltage gradient.

A simple but efficient protection solution is to add a route to ground (or a common reference) for the leakage current. In the power gating circuit 120 of FIG. 17, this is implemented with a diode-connected NMOS transistor 126 (labelled MN0), which is a thick-gate-oxide (high gate-threshold) transistor. When the second voltage detector 144 output V_(OUT(M)) goes high, which switches off the transistor 124 (zero gate-source voltage), the two transistors 124 and 126 are configured as an ultra-low-power two-transistor voltage reference consisting of two stacked transistors 124, 126 with different gate thresholds V_(TH) as shown in FIG. 18. The first one 410 of the stacked transistors has a lower V_(TH) and zero gate-source voltage, whilst a second one 420 of the stacked transistors has higher V_(TH) and is configured as a diode-connected transistor. The reference circuit clamps V_(IN(L)) to a fixed voltage (seen as a voltage plateau in the graph of FIG. 17) while consuming pico-amperes current only, and by adjusting the W/L ratios of transistors 124 and 126, V_(IN(L)) can be set at a safe voltage for the third voltage detector 146. Before transistor 124 is switched off and while the third voltage detector 146 is operating normally, transistor 126 draws negligible current from the input V_(IN(L)) because its gate-threshold is much higher than V_(IN(L)) and thus this transistor operates in its deep subthreshold region.

FIG. 19 is a schematic block diagram illustrating the desired functionality of the voltage detectors 142, 144, 146 used in the system 100.

As can be seen from FIG. 19, each of the voltage detectors 142, 144, 146 comprises a subthreshold voltage reference, a trigger circuit and optional output buffers. The subthreshold voltage reference seeks to generate a fixed output V_(REF), in this example 0.22 V. The trigger comprises an inverter with input V_(REF) and its supply the varying detector input voltage V_(IN). The trigger switches its output to high as the supply voltage V_(IN) reaches the detection threshold V_(TH). Its input V_(REF) is sufficiently low to ensure that the trigger is still in subthreshold mode when it switches.

The optional output buffers sharpen the response of the detector and feed the output back to the Reset input of the subthreshold voltage reference. On triggering the detector, the low-to-high transition of the output activates the Reset input of the subthreshold voltage reference. This has three beneficial effects. First, it cuts off or at least substantially reduces the static quiescent current draw of the subthreshold voltage reference. Second, the reference output is pulled to the common reference, which virtually eliminates static current in the trigger, as its input is no longer at an intermediate voltage. Third, with a lower (or grounded) input, the trigger switches its output back at a lower V_(IN) threshold, which inherently provides the detector with hysteresis.

FIG. 20 is an illustrative circuit implementation of the functionality of the subthreshold voltage reference in FIG. 19. It comprises a first current controlling element, diode D, and a capacitance C connected in series between the input terminal and a common reference V_(COM) such that the capacitance is charged (though the diode) by the input signal. The capacitance may be a parasitic capacitance (e.g. of a transistor gate), or may be provided by a separate component such as a capacitor. The common reference may be ground.

The source of a PMOS transistor 230 is connected to a node between the diode D and capacitance C. Its drain is connected to the drain of an NMOS transistor 240, with its source connected to a common reference. A node in the connection between the drain of the PMOS transistor and the NMOS transistor provides the reference voltage output V_(REF) of the reference generator. The gate of the PMOS transistor provides the reset input to the reference generator. The gate of the NMOS transistor is connected (directly) to the input terminal.

In operation, with a rising input voltage V_(IN), the voltage at the node between the diode D and capacitance C (V_(C)) follows V_(IN) minus the diode forward drop voltage across the diode D. With no, or a low, voltage at the Reset input the PMOS transistor 230 is on more strongly than the NMOS transistor 240 so V_(REF) follows V_(C) closely.

As V_(IN) rises further, being connected to the gate of the NMOS transistor 240, it increases the (leakage) current in the NMOS transistor 240 which begins to draw an increased current resulting in V_(REF) and V_(C) reaching a plateau and ceasing to rise.

If an input is provided to the Reset terminal of sufficient voltage the PMOS transistor 230 is turned off, causing V_(REF) to be shorted to the common reference via the NMOS transistor and eliminating or significantly reducing the static current path in the voltage reference, effectively putting it into a low power mode.

The two transistors in the voltage reference serve two functions, depending on the state of the reference generator. Prior to resetting the NMOS transistor 240 operates in subthreshold and thus helps generate a reference voltage together with the diode D. When in subthreshold both components allow current to flow generally exponentially with voltage. After resetting the PMOS transistor 230 power-gates off the quiescent current, and so helps reset the reference voltage to zero (or a common reference voltage).

FIG. 21 is an illustrative circuit implementation 200 of the functionality of the circuit shown in FIG. 19 with the voltage reference circuit implemented as shown in FIG. 20 save that, in this implementation, the diode D of FIG. 20 is a diode-connected transistor 210. As indicated above, the purpose of the diode D is simply to control current flow and so provide a voltage drop between V_(IN) and V_(C). A diode (or diode-connected transistor 210) offers a convenient way of providing a voltage drop, but it will be appreciated by those skilled in the art that any other component or circuit that provides an appropriate voltage drop could equally be employed. The capacitance of FIG. 20 is implemented by a capacitor 220 (though this need not be a separate component; as indicated above, the capacitance may be provided by parasitic capacitance in the circuit 200). The trigger is an inverter implemented by a transistor pair consisting of a PMOS transistor 250 and an NMOS transistor 260. The output of the inverter V_(OUT) is connected to the gate of the PMOS transistor 230 which forms the reset input of the voltage reference circuit of which it forms a part.

The operation of the circuit of FIG. 15 will now be described with reference to FIGS. 22 to 24, which are timing diagrams illustrating the operation of the circuit of FIG. 15. FIGS. 13 and 14 show expanded views of sections of FIG. 16. FIG. 17 shows the section between times a and b and FIG. 18 the section between times c and d, of FIG. 16, and show detail around the triggering of the inverter for rising and falling input voltages respectively.

The input voltage pulse V_(IN) from an external voltage source V_(IN) is assumed to follow a trapezoidal profile, as shown in FIG. 16. The capacitance of the capacitor 220 is two or more orders of magnitude lower than the source's parasitic capacitance. The capacitor is charged via the diode-connected transistor 210, resulting in V_(C) (the voltage at the node between the transistor 210 and the capacitor 220) generally being a diode forward voltage drop V_(Fwd1) below V_(IN) during the rise and the plateau of the input voltage. During the fall of V_(IN), the capacitor 220 discharges into the V_(IN) rail through the antiparallel parasitic diode of the transistor 210, resulting in V_(C) generally being a diode forward voltage drop V_(Fwd2) above V_(IN).

At the start of the pulse, V_(OUT) is zero, and therefore the PMOS transistor 230 that is controlled by V_(OUT) connects V_(C) through to the input V_(B) of the inverter formed by transistors 250, 260, forcing V_(REF) to follow V_(C). As discussed above, as V_(IN) rises further the NMOS transistor 240 begins to draw increased current resulting in V_(REF) reaching a plateau (this plateau being visible in FIG. 17) and ceasing to rise and thus determining the voltage threshold at which the trigger circuit switches.

The trigger is an inverter whose input is V_(REF). The supply voltage V_(IN) at which the inverter flips its output high is the detection threshold V_(TH) of the detector. In the described implementation, on a rising V_(IN), V_(REF) is 0.22 V, providing a detection threshold of 0.46 V. Upon triggering, V_(REF) is reset to V_(COM) (which may be zero or ground), which lowers (to 0.29 V where V_(COM) is zero) the threshold at which the trigger flips back, thereby providing hysteresis.

Due to the low V_(REF), the trigger circuit operates in subthreshold prior to triggering. The topology of the trigger stage uses PMOS transistor 250 as a common-gate amplifier, whose gate bias is V_(REF), whose input is V_(IN) and whose active load is NMOS transistor 260 due to its gate being biased to V_(REF). The trigger output voltage is also the V_(DS) of the NMOS transistor 260. Therefore, as the V_(DS) of 260 exceeds 4_(VT) (˜100 mV=4×thermal voltage), this transistor enters saturation. Now, with both transistors 250 and 260 in saturation, the increased output impedance results in a large gain of the amplifier, seen by an increase in the gradient of the trigger output voltage. This increase turns off the PMOS transistor 230 forming part of the voltage reference with the result that very soon after the trigger output voltage begins to increase the subthreshold voltage reference circuit begins to reset, and this positive feedback leads to a sharp rise in output voltage. Also, as V_(IN) reaches the gate threshold V_(thS2) of the transistor 240, V_(REF) is pulled to the common reference, also causing V_(out) to go high, and minimising leakage through the inverter.

V_(out) then follows the rail voltage V_(IN) of the inverter.

On the falling edge the gate voltage of transistor 240 drops, weakening its driving strength. When V_(IN) reaches the threshold V_(thS2) of the transistor 240, it loses capacity to hold V_(REF) low. Subthreshold leakage through the transistor 230 (stemming from charge stored by the capacitance C) causes V_(REF) to rise, and therefore V_(OUT) to begin falling. As V_(REF) reaches 100 mV transistor 230 is conducting enough current to pull up V_(REF) rapidly to V_(C). This process is accelerated by positive feedback from the output. Once V_(OUT) has fallen to V_(C)−V_(th230) (i.e. V_(c)—the threshold of the transistor 230), the transistor 230 turns on, pulling V_(REF) up to beyond the rail voltage V_(IN), which in turn causes the inverter to pull V_(OUT) to the common reference. Once the pulse is over, the remaining charge in the capacitor 220 leaks to the common reference through the transistor 210. In this manner a hysteresis is created between the rising and falling detection thresholds.

The steady-state current consumption of the voltage detector circuit of FIG. 15 is reduced in comparison to prior art systems by means of two features. First, the inverter's input is always pulled either high or low via the two-way switch consisting of the transistors 230, 240, which reduces the inverter's static current leakage (shown as I_(inv) in FIG. 15) flowing through the transistors 250, 260. Second, the rise and fall input voltage thresholds (i.e. the voltage threshold at which the voltage detector switches on the open-drain output stage 160 in response to a rising input voltage and the voltage threshold at which the voltage detector switches off the open-drain output stage 160 in response to a falling input voltage) are provided by a circuit that draws negligible current in steady state. The rise threshold is a function of the gate voltage threshold of the NMOS transistor 240. The fall threshold is a function of the device parameters of the transistors 230, 240, 250 and 260.

FIG. 25 is an alternate schematic block diagram of the voltage detector of FIG. 19, without the optional buffers, which illustrates an aspect of the operation of the detector. Here, as with FIG. 19, the subthreshold voltage reference is implemented by a diode D, and a capacitance C connected in series between the input terminal and a common reference such that the capacitance is charged (though the diode) by the input signal.

The capacitance may be a parasitic capacitance (e.g. of a transistor gate of the switch), or may be provided by a separate component such as a capacitor. The difference to FIG. 19 is that the two transistors 230 and 240 are visualised as a switch S.

The operation of the switch S is such that the input of the inverter is connected to a common reference (or another low-voltage source suitable for causing the inverter to output a voltage that is sufficiently high as to switch on the open-drain output 160) when the input voltage V_(IN) to the voltage detector system 100 is greater than a voltage V_(thN), which is the voltage detection threshold at which the voltage detectors 144, 146 switch on the open-drain output 160 in response to a rising input voltage. The input of the inverter is connected to the node between the voltage reducing element and the capacitance during a period in which the input voltage rises from 0 to V_(thN), and when the output voltage V_(OUT) of the voltage detector 144, 146 is less than a voltage V_(C)−V_(thP), where V_(C) is the voltage across the capacitance and V_(thP) is a positive value.

The second and third voltage detectors 144, 146 both operate in the manner described above in relation to figures to 9 to 15, only that the thresholds are lower for the third voltage detector 146 than the second voltage detector 144, and the plateau is lower while the third voltage detector 146 is power-gated off by the higher-voltage second voltage detector 144. Assuming the transient current surges during the switching events are small, and since there is no static current flow during the detection process, this architecture provides a low power consumption.

The first voltage detector 142 may have the same topology as the second and third voltage detectors 144, 146. Alternatively, the first voltage detector 142 could be parametrically redesigned to trade off speed for reduced static power consumption, since the first voltage detector 142 experiences the highest voltage of all detector levels.

However, a further alternative arrangement, which is a conceptual variant of the second and third detectors, may be employed in the first voltage detector 142, as will now be described with reference to FIG. 26, which is a schematic representation of the first (high voltage range) voltage detector 142, with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit) shown.

The first voltage detector 142 operates as described above in relation to the circuits of FIGS. 15 and 15, with two differences. First, the transistor, which selectively connects the input of the inverter to the capacitance is not controlled by the output signal V_(Out), but is instead controlled by the input signal V_(in). In FIG. 26, this is seen by the gate of transistor 1432 being connected to the V_(in) rail. Second, transistor 1432 is connected in series with a voltage reducing element (represented in FIG. 26 by a diode-connected transistor 1434), which shifts the potential relative to the common reference at which the gate of transistor 1432 switches.

Referring back to the schematic representation of FIG. 15, assume that the gate threshold voltage of PMOS transistor 250 is a few hundreds of millivolts higher than the gate threshold of the NMOS switch 240. The aim is to stop an unwanted current path through transistors 210, 230 and 240 from occurring. This short circuit occurs on a rising V_(IN), starting at the time when transistor 240 switches on and pulls V_(REF) down. At this point V_(IN) is not yet high enough for V_(IN)−V_(REF) to have equalled the gate threshold of transistor 250. Therefore V_(Out) is still low, and thus transistor 230 still on. This short circuit is only removed once 230 turns off.

Referring again to FIG. 26, the first modification is that transistor 1426, which corresponds to the NMOS switch 230 of FIG. 15, is now controlled by the detector input V_(in) instead of the inverter output V_(OUT). This prevents the occurrence of the short-circuit path through transistors 210, 230, and 240 in FIG. 15, by ensuring that transistor 230 is off all the time. The equivalent of transistor 230 of FIG. 15 in the arrangement shown in FIG. 26 is transistor 1426, which is now controlled by V_(in) rather than V_(OUT) as in the lower voltage-level detectors 144, 146, which keeps transistor 1426 off because it has a negative source-gate voltage. However, V_(REF) does need to rise and follow V_(IN) for correct operation. Therefore, transistor 1426 is designed with a large W/L ratio 50/0.2, in order to provide sufficient leakage current I_(leak) to charge the node V_(REF) in the initial phase of a V_(IN) rise, as illustrated in FIG. 16 (before ti). This ensures that the inverter output V_(OUT(H)) is initially held low as the detector input V_(in) rises from 0V. Careful design ensures that the equivalent resistance of transistor 1426 is high enough to sufficiently limit the charging current.

The second modification to counteract large gate-threshold differences, e.g. between the NMOS transistor 1432 and the PMOS transistor 1428, is the addition of the diode-connected transistor 1434. The diode-connected transistor 1434 acts as a bias-shifting element, by adding a small bias V_(d) to the source terminal of the transistor 1432, thus raising the input voltage level at which transistor 1432 pulls V_(REF) down. This reduces the aforementioned time during which a short-circuit path through 1422, 1426, and 1432 can occur. This speeds up the pulling-up of the inverter output V_(OUT(H)), since V_(in) is roughly one gate-threshold (of transistor 1434) higher by the time transistor 1432 turns transistor PMOS 1428 on. This determines the detection threshold of the first (high voltage range) detector 142. This threshold can be increased by adding more diode-connected transistors in series with the NMOS transistor 1432.

Each of the detectors 142, 144, 146 must only trigger when a rising Vin is high enough to actually be able to switch the respective output open-drain transistor. Equally, a falling Vin must trigger the detectors 142, 144, 146 for which the respective open drain transistors are still on.

During an input voltage pulse, the three open-drain output transistors 162, 164, 166 (FIG. 15) need to operate seamlessly to avoid any dead time in which none of the open drain output transistors are on. Seamless operation is achieved by setting both the rising and falling detection thresholds of each internal detector to exceed the gate threshold voltages of their respective open-drain output transistors: both the rising and falling thresholds of the first detector 142 are higher than the gate threshold voltage of the output transistor 162; both the rising and falling thresholds of the second detector 144 are higher than the gate threshold voltage of the output transistor 164; both the rising and falling thresholds of the second detector 146 are higher than the gate threshold voltage of the output transistor 166.

At the rising edge of the input, these parameter settings prevent, for instance, the second detector 144 output from being pulled up to an input voltage that is lower than the gate-threshold of the open-drain transistor 164 when this detector triggers; at this point, the open-drain transistor 164 is still not switched on, but the power-gating transistor 124 and hence the third detector 146 has been switched off, which results in dead time between the transistors 166 and 164. At the falling edge of the input, these parameter settings prevent, for instance, the second detector 144 output from going low too late while the input voltage has dropped below the gate-threshold of the open-drain transistor 164; at this point, the power-gating transistor 124 and hence the third detector 146 is switched on late after the open-drain transistor 164 has been switched off, which results again in dead time between the transistors 166 and 164. Similarly, these parameters avoid undesired switching between the first and second detector 142 and 144, which eliminates dead time between the transistors 162 and 164.

The thresholds of the voltage detector can be individually adjusted within the voltage detector structure. In an alternative embodiment, MP3 can been replaced by a device MP10 with lower leakage for a given drain-source voltage, and MN5 can be replaced by a device MN9 with a higher gate threshold voltage.

This turn-off threshold can be individually adjusted by adjusting the reference voltage that is generated after the sub-detector has switched. This is adjusted by adding in series with MN5 or MN9 respectively, pull-up devices that may, for example, consist or comprise of resistors, or a series connected stack of diode-connected transistors, or a diode-connected transistor with a different leakage to drain-source voltage ratio. These additional devices can be located on the drain or source side of MN5 or MN9.

This has the advantage of not requiring external adjustment of the detection thresholds. It would, for example be useful in battery or capacitor cell management tasks, where the detection voltage should be where protective actions need to be taken, such as between 3 and 4 V for a Lithium cell. It also allows the turn-on and turn-off thresholds to be spaced apart, so that for example capacitors can be monitored with one detector that turns on at the maximum allowable cell voltage (e.g. 2.3 V) and turns off at a very low voltage of a few 100 mV.

The three-level detector architecture of FIG. 15 places a number of demands on the fabrication process. These are illustrated in FIG. 27, which shows the nominal gate threshold and device voltage ratings of transistors chosen for the third (low voltage range), second (medium voltage range), and first (high voltage range) voltage detectors 146, 144, 142.

There are a number of reasons for choosing these transistor variants. The detector system 100 cannot be designed with only low threshold, 20 V devices of the kind indicated by the bottom-right circle in FIG. 27, as the maximum allowed voltage on the low-threshold gate is less than 5 V. In principle, the detector system 100 could be designed with 20 V devices using all thresholds, however the die size would be significantly larger, and the quiescent current would increase. Equally, the detector could be designed with the three devices shown as filled circles in FIG. 27, however the static and dynamic power consumption would increase. Therefore, in addition to these three devices, the design described here uses the other two devices enclosed by the dashed lines. The reason that three device voltage ratings are required, and why a voltage detector for medium range voltages is needed, is that the absolute maximum gate voltage of the lowest threshold gates is below the gate threshold voltage of the 20 V devices. Without a voltage detector for medium range voltages detector there would be an input voltage range that is destructive to the low threshold transistors' gates, but not able to switch the high threshold transistors to trigger a protection circuit.

The design of the second and third voltage detectors, 144, 146 will now be described, with reference to FIGS. 22 and 23, and to FIG. 30, which provides a legend of transistor symbols used in used in FIGS. 20, 22 and 23 giving transistor gate threshold options and maximum voltage ratings for an example HV CMOS fabrication process.

FIG. 28 is a schematic diagram showing the design of the third (low voltage range) voltage detector 146 with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit). The operation of the third voltage detector 146 is as described above in relation to the circuit of FIG. 15. The circuit of FIG. 28 differs from that of FIG. 15 only by the presence of two additional buffers made up of pairs of transistors in the output stage.

Thus, as can be seen in FIG. 28, the third voltage detector 146 includes a diode-connected transistor 1462 (also labelled MP3 in FIG. 28) having a width/length ratio of 1.5/0.38 connected in series with a capacitor 1464 having a value of 1.7 picofarads between the input terminal of the third voltage detector 146 and a the common reference terminal of the third voltage detector 146.

A node V_(C) at the connection between the transistor 1462 and the capacitor 1464 connects to the drain terminal of a PMOS transistor 1466 (also labelled MP4 in FIG. 28). As shown, this transistor has a width/length ratio of 4/0.18. The gate terminal of the transistor 1466 is connected to an output V_(OUT(L)) of the third voltage detector 146, whilst the source terminal of the transistor 1466 is connected to a node V_(REF) which connects together the gate terminals of a PMOS transistor 1468 (labelled MP5, having a width/length ratio of 0.4/0.2) and an NMOS transistor 1470 (labelled MN6, having a W/L ratio of 2/0.2) which together form an inverter.

A further NMOS transistor 1472 (labelled MN5, having a W/L ratio of 1/1) is provided, to pull the gate terminals of each of the transistors 1468, 1470 to the common reference when the input voltage is above the V_(thN) threshold. Thus, the gate terminal of the transistor 1472 is connected to the input V_(IN) of the third voltage detector 146, whilst its source terminal is connected to the common reference and its drain terminal is connected to the gate terminals of the transistors 1468, 1470.

As indicated above, the transistors 1468, 1470 form an inverter, whose output provides, via first and second additional output buffers (the first output buffer being formed of a transistor pair comprising a PMOS transistor 1474 and an NMOS transistor 1476 connected so as to form an inverter and the second output buffer each formed by a transistor pair comprising a PMOS transistor 1478 and an NMOS transistor 1480 connected so as to form an inverter), the output V_(OUT(L)) of the third voltage detector 146.

The detection threshold of the voltage detector 146 illustrated in FIG. 28 is defined by the gate threshold voltage of the transistor 1472. The transistors 1466 and 1472 are scaled (transistor 1466 has a greater width/length ratio than transistor 1472) such that on a rising input voltage pulse when the output V_(OUT(L)) is zero and both devices are in the subthreshold region, the transistor 1466 remains stronger for a while in order to allow V_(REF) to rise. The threshold could be lowered by using a low-threshold device here, however this would require a much longer channel length in order to obtain the correct switch-over between transistor 1466 (‘on’ at the onset of an input pulse) and transistor 1472 (off at the start of a pulse). Transistors 1470 and 1468 (MN6 and MP5) are scaled (transistor 1470 has a greater W/L ratio than transistor 1468) so that transistor 1470 is strong enough to hold the output V_(OUT(L)) low until V_(REF) starts to decrease, whilst still allowing the output to be pulled up cleanly as soon as V_(IN) reaches the gate threshold of transistor 1472. This is important in order to minimise the switching duration of the third voltage detector 146 and thus minimise dynamic current. The result is a rapid turn-on of the open-drain transistor 166 (FIG. 15). The output's two-stage buffer (formed by the transistor pairs 1474, 1476 and 1478, 1480) has a taper factor so that it can drive the large open-drain transistor 166 (whose width/length ratio W/L=50 μm/2 μm). The diode connected transistor 1462 (labelled MP3 in FIG. 28) is sized to allow V_(C) to follow V_(IN) and is a function of the value of the capacitor 1464, which in turn requires a minimum capacitance in order that leakage through the transistor 1466 does not discharge it during a typical input pulse.

In an alternative embodiment, the subthreshold voltage detector can be modified to set a new higher turn-on threshold voltage by replacing MP3 by a pull-up device that may, for example, consist or comprise of resistors, or a series connected stack of diode-connected transistors, or a diode-connected transistor with a lower leakage to drain-source voltage ratio. The turn-on threshold an also be increased by increasing the gate threshold voltage of MN5. In order to raise the turn-on threshold, the main requirement is that the new circuit achieves a given leakage current at a higher input voltage. Similarly, the turn-on threshold can be reduced by reducing the voltage drop over MP3 for a given leakage, for example by changing the scaling of MP3, or reducing the gate threshold voltage of MN5.

FIG. 29 is a schematic representation of the second (medium voltage range) voltage detector 144, again with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit) shown. The operation of the second voltage detector 144 is as described above in relation to the circuit of FIG. 15. Again, the circuit of FIG. 29 differs from that of FIG. 15 only by the presence of two additional buffers made up of pairs of transistors in the output stage.

The second (medium voltage range) voltage detector 144 of FIG. 29 is designed in the same manner as the third voltage detector 146 of FIG. 28. The capacitance 1444 (labelled C2 in FIG. 29) is however larger (at 3.2 picofarads) than the capacitance 1464 of FIG. 28, as the transistor 1446 (labelled MP8 in FIG. 29, having W/L ratio 8/0.5) has higher leakage than the equivalent transistor 1466 in FIG. 28. The transistors 1446 and 1442 (MP8 and MP7, W/L ratio 50/1), in turn, are wider than their equivalents (transistors 1466 and 1462) in the third (low voltage range) voltage detector circuit of FIG. 28. They operate in subthreshold mode with a lower effective gate threshold, whilst having a medium thickness gate oxide in order to withstand the higher voltage of the medium voltage range detector 144. The transistors 1448 and 1450 (MP9, W/L ratio 0.5/4 and MN8, W/L ratio 5/0.2) which make up the inverter are scaled (transistor 1450 has a greater W/L ratio than transistor 1448) so that transistor 1448 pulls the inverter output to the common reference and therefore turns the power gating transistor 124 (labelled MP1 in FIG. 15) on, before the input voltage reaches the threshold of the third (low voltage range) voltage detector 146.

The widths of the transistors 1460, 1488 of the output stage of the second (medium voltage range) voltage detector 144 are asymmetrically scaled (i.e. the PMOS transistor 1488 has smaller W/L ratio than the NMOS transistor 1460) in order to speed up the pulling-down of the output V_(out(M)). This is important during the falling-edge detection, as the power gating transistor 124 needs to be switched on as soon as the input drops below the threshold of the second (medium voltage range) detector 144 to avoid bounce in the open-drain system output V_(OD).

The voltage detector system described herein combines ultra-low power consumption, low detection threshold and wide operating range. It is useful for a wide variety of applications including high- and low-side signal monitoring and power-gating, but also for low power control components such as oscillators, gate-drives, and switching devices in low-power converters. For example, due to the voltage detector system's low quiescent input current, capacitive or resistive divider circuits using 100-1000 MΩ resistors can be used to adjust the detection threshold, for example to operate a load only over a desired rail voltage band, commonly referred to as Under-Voltage Lockout. Similarly, high value MΩ pull-up resistors can be used to convert the output into a 2-level output, for example for use in ring oscillators, timers, clocks, wake-up circuits, and pulse generating circuits. This ability to use high-impedance (capacitive or resistive) peripheral components leads to control circuits that use only a few nA of current, which is important for the miniaturisation of wireless sensor nodes, wearable medical health sensors, and internet of things devices.

The one or more embodiments are described above by way of example only. Many variations are possible without departing from the scope of protection afforded by the appended claims. 

The invention claimed is:
 1. An electronic circuit for detecting a change in an input current, the electronic circuit comprising: a voltage detector having an input for receiving the input current, wherein the voltage detector is powered substantially or exclusively via the input, a pull up device for providing a bias current to the input of the voltage detector, the bias current being a leakage current, and a sensor for controlling the input current, wherein: a. the circuit is arranged such that the change in the input current modifies a total current received at the input of the voltage detector; b. the bias current is a positive current; c. the pull up device is a resistive component connecting a voltage to the input of the voltage detector; d. an impedance of the sensor, or an impedance of a medium the sensor is arranged to monitor, is operable to change with a sensed property; and e. the sensor is connected between the input of the voltage detector and ground or a common reference.
 2. The electronic circuit as claimed in claim 1 wherein a change in the property of interest modifies the total current by adding or subtracting the input current to the bias current.
 3. The electronic circuit as claimed in claim 1 wherein the property of interest is a signal which is combined with the bias current thereby to alter the current at the input of the voltage detector.
 4. The electronic circuit as claimed in claim 3 wherein the signal is capacitively coupled into the bias current.
 5. The electronic circuit as claimed in claim 3 wherein the signal is provided by a sensor.
 6. The electronic circuit as claimed in claim 5 wherein the sensor is a voltage generating sensor.
 7. The electronic circuit as claimed in claim 5 wherein the sensor is an antenna, rectenna or microphone.
 8. The electronic circuit as claimed in claim 1 wherein the input current is controlled by a sensor the impedance of which, or the impedance of a medium the sensor is arranged to monitor, changes with a sensed property.
 9. The electronic circuit as claimed in claim 1 wherein a change in the property of interest modifies the total current received at the input of the voltage detector by impeding the bias current.
 10. The electronic circuit as claimed claim 1 wherein the device for providing the bias current controls the bias current and thereby controls the total current received at the input of the voltage detector.
 11. The electronic circuit as claimed in claim 10 arranged such that following triggering of the voltage detector as a result of the change in the current the bias current is altered so as to reset the voltage detector to an original state.
 12. The electronic circuit as claimed in claim 1 wherein the device for providing a bias current comprises a component with a conductivity which varies with temperature and is arranged so as to compensate for changes in temperature on the behaviour of the circuit or give a detection threshold of the voltage detector a desired temperature dependence.
 13. The electronic circuit as in claim 1 wherein the voltage detector can operate when drawing power of less than 10 nW.
 14. The electronic circuit as claimed in claim 1 wherein the voltage detector is capable of being powered up from the input which rises with no minimum gradient.
 15. The electronic circuit as claimed in claim 1 wherein the voltage detector comprises a voltage reference circuit arranged to produce a reference voltage and a comparator arranged to compare the reference voltage with the input and produce an output which is pulled high or low in dependence on the relationship between the reference voltage and the input.
 16. The electronic circuit as claimed in claim 15 wherein the voltage reference circuit comprises a standby input and, on receiving a signal at the standby input, is arranged to reduce the voltage of the output of the voltage reference circuit.
 17. The electronic circuit as claimed in claim 16 wherein, on receiving the signal at the standby input, the voltage reference switches into a standby mode in which the power consumption of the voltage reference circuit is reduced.
 18. The electronic circuit as claimed in claim 16 wherein the output of the comparator is connected to the standby input. 